package com.lc.hongtai.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

import com.lc.hongtai.R;

/**
 * Created by Administrator on 2017/4/19.
 */
public class BorrowNextActivity extends BaseActivity implements View.OnClickListener{
//借款流程
    private LinearLayout layout_liucheng;

    //借款申请
    private LinearLayout layout_apply;
//返回
    private ImageView iv_back;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_borrow_next);
        layout_liucheng= (LinearLayout) findViewById(R.id.layout_liucheng);
        layout_liucheng.setOnClickListener(this);
        layout_apply= (LinearLayout) findViewById(R.id.layout_apply);
        layout_apply.setOnClickListener(this);
        iv_back= (ImageView) findViewById(R.id.iv_back);
        iv_back.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        super.onClick(view);
        switch (view.getId()){
            case R.id.iv_back:

                finish();
                break;
            case R.id.layout_liucheng:
                startActivity(new Intent(BorrowNextActivity.this,BorrowWebActivity.class));
                break;

            case R.id.layout_apply:
                startActivity(new Intent(BorrowNextActivity.this,BorrowActivity.class));
                break;

        }
    }
}
